﻿using System.Reflection;

namespace élénkPróbája
{
    public interface ILitParamValidatorFactory
    {
        /// <summary>
        /// Gets a validator for <paramref name="parameterInfo"/>.
        /// </summary>
        /// <param name="parameterInfo">The <see cref="ParameterInfo"/> instance to get a validator for.</param>
        /// <returns>Created <see cref="IValidator"/> instance; <see langword="null"/> if a validator cannot be
        /// created.</returns>
        IValidator GetValidator(ParameterInfo parameterInfo);

    }
}